2.2.6 访问信息(network)

字段定义

字段 类型 说明
protocol string 访问协议
recvBytes number 接收的字节数
sendBytes number 发送的字节数
responseTime number 回给客户端响应时间
app 应用信息
   .id string 应用ID
   .type string 应用类型,可选值:l3app(隧道应用,包含隧道转WEB)、webapp(WEB应用)、authfreewebapp(免认证应用)
   .name string 应用名称
   .groupId string 应用分类ID
   .groupName string 应用分类名称
conn 连接信息
    .dstHost string 目标主机
    .dstIp string 目标主机IP
    .dstPort number 目标主机端口
    .srcIp string 代理网关源IP
    .srcPort number 代理网关源端口
debug 调试信息
     .connId string tcp连接唯一标识符
     .authTime number 资源鉴权耗时
     .upstreamResolveTime number dns解析时间
     .upstreamConnectTime number 上游服务器新建耗时
     .upstreamHeaderTime number 上游服务器header返回耗时
     .upstreamResponseTime number 上游服务器响应耗时
web Web信息
   .reqUrl string 前端访问地址
   .reqHost string 前端访问主机名
   .reqHttpHost string 前端访问地址httpHost
   .reqHttpUserAgent string userAgent
   .reqBackendUrl string 后端访问地址
   .reqBackendHost string 后端访问主机名
   .reqRefer string Referer
   .reqXff string XFF
   .reqQuery string 请求参数
   .reqMethod string 请求方法
   .reqBody string 请求数据
   .reqHeader string 请求头部
   .reqUri string 请求uri
   .reqContentType string 请求体类型
   .reqSchema string WEB协议
   .resRedirectUri string 上游服务器302回跳地址
   .resServer string 响应服务器
   .resStatusCode number 响应状态码
   .resContentType string 响应Content-Type
   .resContentLength number 响应报文长度
   .resContentDisposition string 下载文件名称
   .resBody string 响应体
   .resHeader string 响应头部

JSON格式

"network": {
    "protocol": "https",
    "recvBytes": 567,
    "sendBytes": 123,
    "responseTime": 10,
    "app": {
        "id": "29a8ad31-de9d-462a-abfd-383035ea4fd8",
        "type": "webapp",
        "name": "邮箱应用",
        "groupId": "default",
        "groupName": "默认分类"
    },
    "conn": {
        "dstHost": "1.1.1.1",
        "dstIp": "1.1.1.1",
        "dstPort": 80,
        "srcIp": "1.1.1.1",
        "srcPort": 42449
    },
    "debug": {
        "connId": "EE57617F87A220FECE7F4B38AAEAF88F-981145",
        "authTime": 100,
        "upstreamResolveTime": 100,
        "upstreamConnectTime": 100,
        "upstreamHeaderTime": 100,
        "upstreamResponseTime": 100
    },
    "web": {
        "reqUrl": "https://sdp.com",
        "reqHost": "sdp.com",
        "reqHttpHost": "sdp.com",
        "reqHttpUserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36",
        "reqBackendUrl": "https://sdp-backend.com",
        "reqBackendHost": "1.1.1.1",
        "reqRefer": "https://sdp.com",
        "reqXff": "1.1.1.1",
        "reqQuery": "name=1&type=1",
        "reqMethod": "GET",
        "reqBody": "\\\"{\\\\\\\"name\\\\\\\":\\\\\\\"app1\\\\\\\",\\\\\\\"attr\\\\\\\":\\\\\\\"type1\\\\\\\"}\\\"",
        "reqHeader": "\"{\\\"accept\\\":\\\"application/json, text/javascript, */*; q=0.01\\\",\\\"accept-encoding\\\":\\\"gzip, deflate, br\\\"}\"",
        "reqUri": "/rest/quickreload/latest/381994897",
        "reqContentType": "application/x-www-form-urlencoded; charset=utf-8",
        "reqSchema": "https",
        "resRedirectUri": "",
        "resServer": "",
        "resStatusCode": 200,
        "resContentType": "text/html",
        "resContentLength": 500,
        "resContentDisposition": "",
        "resBody": "\"{\\\"name\\\":\\\"app1\\\",\\\"attr\\\":\\\"type1\\\"}\"",
        "resHeader": "{\\\"cache-control\\\":\\\"private, no-cache\\\",\\\"content-length\\\":\\\"101\\\"}"
    }
}
深信服科技 all right reserved,powered by Gitbook本文档更新于: 2024-10-15 17:37

results matching ""

    No results matching ""